<%@ page import="apralms.SystemFact" %>



<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'scheme', 'error')} required">
	<label for="scheme">
		<g:message code="systemFact.scheme.label" default="Scheme" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="scheme" name="scheme.id" from="${apralms.Scheme.list()}" optionKey="id" required="" value="${systemFactInstance?.scheme?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'system', 'error')} required">
	<label for="system">
		<g:message code="systemFact.system.label" default="System" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="system" name="system.id" from="${apralms.System.list()}" optionKey="id" required="" value="${systemFactInstance?.system?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'failRatio', 'error')} required">
	<label for="failRatio">
		<g:message code="systemFact.failRatio.label" default="Fail Ratio" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="failRatio" step="any" min="0.0" max="10.0" required="" value="${systemFactInstance.failRatio}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'complex', 'error')} required">
	<label for="complex">
		<g:message code="systemFact.complex.label" default="Complex" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="complex" step="any" min="0.0" max="10.0" required="" value="${systemFactInstance.complex}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'mature', 'error')} required">
	<label for="mature">
		<g:message code="systemFact.mature.label" default="Mature" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="mature" step="any" min="0.0" max="10.0" required="" value="${systemFactInstance.mature}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'condition', 'error')} required">
	<label for="condition">
		<g:message code="systemFact.condition.label" default="Condition" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="condition" step="any" min="0.0" max="10.0" required="" value="${systemFactInstance.condition}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'workTime', 'error')} required">
	<label for="workTime">
		<g:message code="systemFact.workTime.label" default="Work Time" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="workTime" step="any" min="0.0" max="10.0" required="" value="${systemFactInstance.workTime}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'important', 'error')} required">
	<label for="important">
		<g:message code="systemFact.important.label" default="Important" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="important" step="any" min="0.0" max="10.0" required="" value="${systemFactInstance.important}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'maintain', 'error')} required">
	<label for="maintain">
		<g:message code="systemFact.maintain.label" default="Maintain" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="maintain" step="any" min="0.0" max="10.0" required="" value="${systemFactInstance.maintain}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: systemFactInstance, field: 'multiplyValue', 'error')} required">
	<label for="multiplyValue">
		<g:message code="systemFact.multiplyValue.label" default="Multiply Value" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="multiplyValue" step="any" required="" value="${systemFactInstance.multiplyValue}"/>
</div>

